package com.demo.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

	@Value("${pakho.test}")
	private String name;

	@Value("${spring.datasource.password}")
	private String pw;

	@RequestMapping("/test")
	public String test() {
		System.err.println("name:" + name);
		System.err.println("pw:" + pw);
		return name + "-" + pw;
	}
}
